<template>
  <div class="app-container documentation-container">
    <a class="document-btn" target="_blank" href="">{{ $t('documentation.documentation') }}</a>
    <a class="document-btn" target="_blank" href="">{{ $t('documentation.github') }}</a>
    <a class="document-btn" target="_blank" href="">国内文档</a>
    <dropdown-menu :items="articleList" style="float:left;margin-left:50px;" title="系列文章"/>
  </div>
</template>
<script>
import DropdownMenu from '@/components/Share/dropdownMenu'

export default {
  name: 'Documentation',
  components: { DropdownMenu },
  data() {
    return {
      articleList: [
        { title: '基础篇', href: '' },
        { title: '登录权限篇', href: '' },
        { title: '实战篇', href: '' },
        { title: 'vue-admin-template 篇', href: '' },
        { title: '自行封装 component', href: '' },
        { title: '优雅的使用 icon', href: '' },
        { title: 'webpack4（上）', href: '' },
        { title: 'webpack4（下）', href: '' }
      ]
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.documentation-container {
  margin: 50px;
  .document-btn {
    float: left;
    margin-left: 50px;
    display: block;
    cursor: pointer;
    background: black;
    color: white;
    height: 60px;
    width: 200px;
    line-height: 60px;
    font-size: 20px;
    text-align: center;
  }
}
</style>
